package org.finesys.ai.core.search;

import lombok.Builder;
import lombok.Data;


/**
 * 搜索请求
 */
@Builder
@Data
public class SearchRequest {
    private boolean enable;
    private String query;
    @Builder.Default
    private FreshnessEnums freshnessEnums = FreshnessEnums.NO_LIMIT;
    @Builder.Default
    private boolean summary = true;
    @Builder.Default
    private int size = 10;
    @Builder.Default
    private int page = 1;
}
